package org.example.mallcommon.projo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author 韩先楚
 * 订单商品表
 */
@Data
@TableName("order_items")
public class OrderItems {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer orderId;
    private Integer productId;
    private String productTitle;
    /**
     * 总价
     */
    private BigDecimal price;
    private Integer quantity;

}